package com.xu.cloud.codegenerator.pojo.http.req;

import com.xu.cloud.common.pojo.http.req.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 代码生成 Req
 *
 * @author xuguan
 * @since 2024/1/26
 */
@ApiModel(value = "CodeGenerateReq", description = "代码生成Req")
@Data
@EqualsAndHashCode(callSuper = true)
public class CodeGenerateReq extends BaseRequest {
    private static final long serialVersionUID = -4419247870957947751L;

    @ApiModelProperty(value = "表名, 多个表名使用英文逗号分隔", example = "oms_order", required = true)
    @NotBlank
    private String tableNames;
}
